First, Thank you!
For those that might look at this thread, my intent was to "export" a file that the user could manipulate in a bound table field. Thanks to aDezii
the following simple code was gleened.
[CODE=vb]
Dim varItem As Variant, strSelectedFile As String
strSelectedFile = BillingDriveLoc ation 'bound table field allowing for user to input variable drive locations
DoCmd.TransferT ext...
User Profile
Collapse
-
User defined drive location for docmd.TransferText
Hi there, can anyone tell me how to allow the user to enter in a path on there harddrive for a transfertext item? It works just fine if I set it programmaticall y, but I really need them to do this, because the location may change.
This is in Access 2000, btw.
Thanks, proteusgak -
ProteusGak started a topic VB2005: How do I show in a textbox the row that was selected in a datagridview?in Visual BasicVB2005: How do I show in a textbox the row that was selected in a datagridview?
:confused: VB2005: I have a datagridview and a textbox. When a user clicks in the datagridview, I would like some or part of the data in the row to show up in the textbox. Any clues?
Thank you, PG -
Your not sure where I got that? Check the thread.
Anyway, you tried to help me, and in a way, you did, so thank you.
Enjoy your days away, PGLeave a comment:
-
DataGridView 1st column data to a textbox
VisualBasic2005 :
I have a datagridview1 with populated data.
When a user selects a row, I want textbox1 to show the data in the first column. How do I accomplish this?
Thank you, PG -
That all made sense, thx, however, the Global use here seems incorrect...
In my code window, it highlighted "Global" as syntax error.
Module Module1
Global PatientIndex as integer
End Module
I'm sure I did something wrong, not really used to using modules.
PGLeave a comment:
-
Thank you BSOB
I will need to more specific...
Scenario
Form1: Listbox with Patient names (created and works fine).
Form2: Datagridview with complete patient profile, doctor, diagnosis, etc. (created and works fine).
Problem (how do I do this across 2 forms)
When the user selects the patient of interest, Form2 will open and show the profile data for the selected patient.
I can do...Leave a comment:
-
VB2005>How to>show form2 based on combobox selection in form1?
Hi, new membership and first post. I am working in VB 2005, windows forms and would like to know how to open form2 based on the user's selection from a combobox or listbox from say, form1. Thank you, PG
No activity results to display
Show More
Leave a comment: