Garcimat
Member
- Local time
- Tomorrow, 03:34
- Joined
- Jun 7, 2022
- Messages
- 67
I want to open a form based in 3 conditions 2 conditions will come from global variables the third one is a value from the tbl_data
When I double click in the list SWO Number will send the value to the global variable gvar_SwoNumber and PTF Number will send the value to the global variable gvar_PTFNumber third one will be “Active” in the column Record_Status on my tbl_data…. Then open the frm_PTF2 with the record based on the criteria above, so I can edit or cancel the record.
Now I am using an access query…. Double click in the list >open the query> open the frm_PTF2 My database is getting to messy I would like to kill this access queries and open my forms using VBA.
I being trying for days, lots of reading and YT videos but still I can’t get it…. I even tried some sql but it don’t let me use my global variables as conditions…. Do you guys recommend some book or web site I really want to learn and help others and no only be sucking the knowledge from you guys.
Thanks
When I double click in the list SWO Number will send the value to the global variable gvar_SwoNumber and PTF Number will send the value to the global variable gvar_PTFNumber third one will be “Active” in the column Record_Status on my tbl_data…. Then open the frm_PTF2 with the record based on the criteria above, so I can edit or cancel the record.
Now I am using an access query…. Double click in the list >open the query> open the frm_PTF2 My database is getting to messy I would like to kill this access queries and open my forms using VBA.
I being trying for days, lots of reading and YT videos but still I can’t get it…. I even tried some sql but it don’t let me use my global variables as conditions…. Do you guys recommend some book or web site I really want to learn and help others and no only be sucking the knowledge from you guys.
Thanks