PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WX - Alias de tabela
WX - Alias de tabela
Started by BOLLER, Sep., 22 2017 6:15 PM - 1 reply
Connect yourself…
BOLLER
#1
Registered member
3,657 messages
Popularité : +175 (223 votes)
Posted on September, 22 2017 - 6:15 PM
Olá
Fui consultado sobre Alias de tabela, segue aqui o link sobre o assunto
http
:
/
/
doc.windev.com
/
?
3044176
&
name
=
halias_function
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
BOLLER
#2
Registered member
3,657 messages
Popularité : +175 (223 votes)
Posted on September, 23 2017 - 3:27 AM
// Data Source variable to handle the alias after its creation
OrderCheck
is Data Source
<
Description
=
Order
>
// New feature of version 19:
// <description=Order> is used to get the code completion
// for the items found in the Order file
// Create an alias for the "Order" file
IF
HAlias
(
Order
,
OrderCheck
) =
True
THEN
// "OrderCheck" can now be used in processes.
// It behaves like the "Order" file described in the analysis.
// By default, the name of the associated physical file corresponds to
// the name of the data source, therfore "OrderCheck" in this case
// To handle the same physical file as the initial one, the name must be modified:
HChangeName
(
OrderCheck
,
Order
..
PhysicalName
)
// To use a file on another database or in another directory,
// you must use HChangeConnection or HChangeDir
ELSE
Error
(
"Failure creating the alias"
,
HErrorInfo
(
)
)
RETURN
END
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text