User Profile
Collapse
-
Twinnyfo, I will show some screenshots from my db to see why I need the combobox. In the last screen I would like the combobox saw only (glock,s&w, beretta).... -
Here is my database, so if you can check it.
Thanks in advance....Leave a comment:
-
Sorry, but I have missed to tell you that the combo box retrieve data from another subform (frm_apo)(linke d with "id", with relationship 1-many). So I have one main table (tbl_main) and two other tables (tbl_apo & tbl_pyrovola). And the combobox retrieve data from (tbl_apo).But, if in rowsource write:[CODESELECT tbl_apo.per_apo FROM tbl_apo[/CODE], It is ok, but I want to filter only the data with tbl_apo.id_apo) =[forms].[frm_main]...Leave a comment:
-
Thanks for your answer, but same error. It asks about ([forms].[frm_main].[id]).Leave a comment:
-
pass value to subform from mainform when edit data in mainform
I have a mainform (frm_main) with a subform (frm_pyrovola) (linked with "id", with relationship 1-many). In subform, i have a combobox field where it takes data from table/query with the code bellow in rowsource:
.Code:SELECT tbl_apo.per_apo FROM tbl_apo WHERE (((tbl_apo.id_apo)=[forms].[frm_main].[id]));
Everything, it is ok when I add data for first time in mainform. When I try to connect to specific record... -
Twinnyfo, thanks for your answer. Can you tell me how can set the subreports height to zero, so as try it.Leave a comment:
-
blank page when subreport is no data
I have a main report which it has two subreports (rpt_pyrovola & rpt_fysiggia). When I run the main report and fill the parameter id with 1, then it gives me a blank page for the subreport(rpt_p yrovola is no data). So, I dont know how can remove the blank page.
Thank in advance.
P.S.: I have tried to change the cangrow and canshrink fields:yes but nothing happens.... -
add new icon next to menu link
Hi!
I want to ask if anyone knows how can show/hide an image new icon next to menu link or in module menu depending of the content.
In others words, if a new article was added, i want to have new image/icon next to menus.
Thanks in advance. (the site is developed in joomla 1.5)
like the star in this site.
[Z{Removed Link}]Last edited by zmbd; Dec 13 '12, 11:43 AM. Reason: [Z{A clearly defined question should not require an external link}] -
Thanks Pol for your reply.
My problem is that i have a field in table with name (id) and i want to see if the id field has sequence on it and if it has not to show in msgbox which number is missing from range...Leave a comment:
-
How to find missing number from a range
Hi,
I ll try to find a way to find the missing number from range of numbers from a specific field and show this number with msgbox.
Any ideas?
Thanks in advance. -
freedemi started a topic form and subform_problem when update the link field then the subform lose his datain Accessform and subform_problem when update the link field then the subform lose his data
Hi,
I have a form with a subform in access 2007.
When i edit some fields in mainform everything was ok. The problem is when i change the value of primary key field in mainform lets say (id) field, then in the subform the link field (id_subform) changes with the value of mainform (id), but all the other fields change to null vallues, so it loses the previous values. This happen only in subform, while in mainform the vallues remain with... -
-
I understand my fault nico5038, after your propositions.
I had to change my .....If varTemp = Forms![frm_kataxorisi]![ypiresia] And varTemp1 = Forms![frm_kataxorisi]![paragelia] Then...... with..... If varTemp = Forms![frm_kataxorisi]![ypiresia] And varTemp1>0 Then....., so as my code says that there is a record which catch these criterias.
Thanks very match for your replies.
P.S. Do you know any way to have management system...Leave a comment:
-
-
thanks again.
I try this, but nothing happening.
Lets say that when i write (1052/12-a or 1234-5 or 1052-f), i take as sFilter= 1052/12 or 1234 or 1052 and i want to search my table.[paragelia], so as to see if there is a value which will consist of these values.
In my table i have values 1052/12-a-b, 1052-b, 1234.Leave a comment:
-
thanks for your answer.
Now, i dont face any problem but i cannot have that i want because if i put in field Forms![frm_kataxorisi]![paragelia] the value 1052-a, the string sFilter take the value =1052, but after that no value in vartemp1=null, and i dont why is happening.
If i dont use like function and just take the whole field everything is ok.Leave a comment:
-
...Code:Dim SID As String Dim stLinkCriteria As String Dim rsc As DAO.Recordset Set rsc = Me.RecordsetClone SID = Me.strStudentNumber.Value stLinkCriteria = "[yourfield]=" & "'" & SID & "'" 'Check your table for duplicate yourfield If DCount("yourfield", "tbl.......", _ stLinkCriteria)Leave a comment:
-
dlookup and like error
Hi,
firstly, here is my code:
...Code:Private Sub paragelia_BeforeUpdate(Cancel As Integer) Dim varTemp As Variant Dim varTemp1 As Variant Dim sFilter As String Dim inputtext As Long Dim astrWhere As String inputtext = InStr(1, Forms![frm_kataxorisi]![paragelia], "-") sFilter = Left(Forms![frm_kataxorisi]![paragelia], inputtext - 1) varTemp = DLookup("[ypiresia]",
No activity results to display
Show More
Leave a comment: