Avatar billede julle Nybegynder
14. maj 2002 - 16:30 Der er 10 kommentarer og
1 løsning

Kombinationsboks, der indeholder over 50 tegn?

Hej,

Jeg har en combo-boks der tager data fra en tabel med format "notat"..... men det kan jeg ikke?

Kan det lade sig gøre?
Avatar billede terry Ekspert
14. maj 2002 - 17:00 #1
thats a lot of data there!

Use a SQL statement instead of a table
Select Left("TheField", 100) AS PartOfAField
Avatar billede terry Ekspert
14. maj 2002 - 17:02 #2
WHY do you need to show a memo field in a combo? A memeo field is normally for LARGE amounts of data which could contain similar characters at the start so having them in a combo desnt really have any purpose!
Avatar billede julle Nybegynder
14. maj 2002 - 17:03 #3
Hvor skal jeg indsætte den SQL sætning?
Avatar billede julle Nybegynder
14. maj 2002 - 17:04 #4
Well... Fordii jeg skal bruge følgende fra tabellen "Udstyr"

DJ Pakke 1 (Denon Cdafpsiller, Rodec Mixer, 1 Microfon)
Avatar billede terry Ekspert
14. maj 2002 - 17:06 #5
send the db to terry@santhell.dk and I will do it for you
please re-name the db to .txt or zip it as Outlook dowsnt let it through
Avatar billede terry Ekspert
14. maj 2002 - 17:08 #6
you place the select in the row source for the combo, If you place the cursor in the row source property a little box with ... on it appears to the right. Press that to come into th equery builder.

Here you can alter the query to only select the first 255 characters.
Avatar billede terry Ekspert
14. maj 2002 - 17:09 #7
255 OR how many characters you want!
Avatar billede terry Ekspert
14. maj 2002 - 17:11 #8
OK! but a memo field can contain 65,536 characters a text field only 255 but isnt 255 enough?
Avatar billede julle Nybegynder
14. maj 2002 - 17:13 #9
Jo da :)

Men jeg kan kun få 50 tegn med i en combobox....
Avatar billede julle Nybegynder
14. maj 2002 - 17:14 #10
Den er sendt til dig nu..... :)
Avatar billede terry Ekspert
14. maj 2002 - 17:59 #11
hi julle> can you send it to dktebrsa@europe.lego.com
I am having problems with StofaNet!
How many characters do you want in the combo?
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Dyk ned i databasernes verden på et af vores praksisnære Access-kurser

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester