Sign in to follow this  
Followers 0
Erik.

read database and put all into pulldown list

9 posts in this topic

Hello,

My second problem is short time:P

I am now trying to make a database for not members...

the inifile will look like this:

[totaal]

1=how many people are into this database, when new person added +1

[notmembers]

1=nopass|firtsname|lastname|city|street| zipcode| birthday|telephone number

Now you have a puldown menu and you can type someone's firtsname into it and the program looks if the person was found and give a list whit all persons whit that name found into that pulldown menu and you can select someone and the program putt all data into GUICtrlCreateInput's

I hope you understand what i mean and i hope you can help me

Greatzz Erik


I little problem, hard to find and fix

Share this post


Link to post
Share on other sites



Hello,

My second problem is short time:P

I am now trying to make a database for not members...

the inifile will look like this:

[totaal]

1=how many people are into this database, when new person added +1

[notmembers]

1=nopass|firtsname|lastname|city|street| zipcode| birthday|telephone number

Now you have a puldown menu and you can type someone's firtsname into it and the program looks if the person was found and give a list whit all persons whit that name found into that pulldown menu and you can select someone and the program putt all data into GUICtrlCreateInput's

I hope you understand what i mean and i hope you can help me

Greatzz Erik

Are you using an actual database or just the INI file?

If it's just the INI file then see IniReadSection in the help file and then do a string search (If StringInStr(....... Etc)

If it's a database then what type?

If it's a MS Access database then search Example Scripts for my Access database UDF and use _adoQueryLike().


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hi,

It is a ini file...

Try to explain waht i want to try..

When you have the pull down menu you can type letters into it like this:

I want to look for the name Erik and this are my members:

Anne

Beta

Carly

Dul

Erik

Erikjuh

So when i press The E i see 2 names in the pull down menu Erik and Erikjuh

Then i press some more letters rikj so i just have 1 name left..

I select that name and press a button..

How to do that?

Edited by Erik.

I little problem, hard to find and fix

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

What is it???

is it a database or something like that?

In my program i used ini files for my database... i need to figure out how it works..

Edited by Erik.

I little problem, hard to find and fix

Share this post


Link to post
Share on other sites

But how to make a pull down menu??

You have a selectbox where you can full in a name and the program loks for the name that was found...

I hopw that you understand what i mean.

i have no idea how to make that because i don't know how to let the program search all the time etc..

Please give me some help code that can read from an ini file so i can edit it.

Greatzz Erik


I little problem, hard to find and fix

Share this post


Link to post
Share on other sites

hi,

thanks i have downloaded the files..

Could you please give me a little explain because i have read things but i realy don't know what it is how it works etc..

In the program yo have a tab where you can add a members, when the are added i can do what you can read in my other explain so i don't know why i need that database etc..

Please help me a bit

Greatz Erik


I little problem, hard to find and fix

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0