Search results for query: *

  1. adi2015

    Checking if value inserted in combobox is in related table, if not, opening new form

    Hi, in my database I have combobox which shows Patient ID (it contains 13 numerical characters). Field "Patient_ID" is from table called "Patients". This is how combobox looks like http://s23.postimg.org/5sr8s7utn/18_Apr_15_11_38_33_PM.jpg If user types already existing Patient ID (in table...
  2. adi2015

    Opening second form based on data from selected row from first form?

    Hi, I have form based on View called "Patients_list" which contains summary of patients with some basic data (ID, name, surname, date of birth etc). I am trying to create code so that users double clicks certain ID of patient from list, new form to be open called "Patient_details" which will...
  3. adi2015

    Error "Friend Overloads Sub InitVars()' has multiple definitions with identical signa

    Error "Friend Overloads Sub InitVars()' has multiple definitions with identical signa Hi, I am using visual studio 2013 to build my database Last day I was working on my form with 6 tabs total. From time to time I haved copied some textbox or combobox from 1 to my 6 or 7 tab. I was to lasy to...
  4. adi2015

    Creating form based on OrderHeader table containing subform "OrderDetail"

    Thank you for help, this videos helped me solve it, https://www.youtube.com/watch?v=rGiOkUc1tLE https://www.youtube.com/watch?v=qo4Zkr1ZVic Best regards, Adi
  5. adi2015

    Creating form based on OrderHeader table containing subform "OrderDetail"

    Hi, it does sounds simple but I can't get it work. I am trying for 5 days now;( Can you please recommend me some link/example? Thank you. Adi
  6. adi2015

    Creating form based on OrderHeader table containing subform "OrderDetail"

    Hi, I am trying to create OrderHeader form which will contain subform "OrderDetail". User can input data about order header (date, customer etc), and in subform user will be able to input as much rows he likes (I plan to use datagrid view). You can see relationship between these tables bellow...
  7. adi2015

    How to make combobox values searchable character by character (google like)?

    Hi, I was wondering how to make combobox values searchable character by character (google like). For example, if text box cointains list of emploleey (their names), if I type 'J' I will get automatic generated list of names starting with J. If I type 'Ja' I will get autmatic list of names like...
  8. adi2015

    Creating validation for user input?

    I solved it like this if textbox1.text=""then msgbox "mandatory field!!!" else your code Thank you. Adi
  9. adi2015

    Time picker insted of date

    Hi, Is there any control which allow the user to pick ONLY time (not date)? May be the UltraDateEditor can be set up some way to achieve this. Here is an example of what I want: This is a DateTimePicker (from WinForm controls) with a custom formt ("HH:mm") and ShowUpDown set to true...
  10. adi2015

    How to update fields on windows form after updating value in combobox?

    Thank you all for help. Here is the solution. https://social.msdn.microsoft.com/Forums/vstudio/en-US/80dbcebb-8887-4f9e-9e22-a9ce6a8bcd0e/how-to-update-fields-on-windows-form-after-updating-value-in-combobox?forum=visualstudiogeneral BR, Adi
  11. adi2015

    Creating validation for user input?

    Hi, I have 5 fields on my form which I need to validate on lost focus and save button. These fields must be mandatory. Searching through google I have find useful tutorial Validate user input in Windows Forms - CodeProject but I don't want to install some "Validator.dll" in order to achieve...
  12. adi2015

    How to update fields on windows form after updating value in combobox?

    Hi, it is table in datababase. I have a dummy form on which I want to have one simple combobox. After user chooses some value (HEALTH_ID) from comobox, that three fields (name, surname, address) on dummy form, to be filled with related data from table "Patients" from database with related...
  13. adi2015

    How to update fields on windows form after updating value in combobox?

    Hi jwcoleman87, thank you very much for your reply! Perhaps I didn't explained everything in detail and that is reason why, unfortunately can't use code you suggested. All my importan data is set in "Patients" table. Please see image bellow, I think it explains it better. Can you help me...
  14. adi2015

    How to update fields on windows form after updating value in combobox?

    Hi jwcoleman87, thank you, your post helped me form a picture but I dont understand what code I should use for one simple task: when I user updates Patient_IDComboBox, field NameTextBox should show name of the patient? BR, Adi
  15. adi2015

    How to update fields on windows form after updating value in combobox?

    @jmcilhinney Hi, data is coming from database originally, from table "Patients" which contains fields Patient_ID, Name, Surname, Address. It is very simple. I am intending to retrieve data as it is required.. BR, Adi
  16. adi2015

    How to update fields on windows form after updating value in combobox?

    Hi, I have combobox on windows form, named 'Patient ID'. I would like, when user apdates this field, for other fields on that form to be updated. Please see image attached. Can anyone help me with this? Thank you. Adi
Back
Top